<?php
    session_start();
    if(isset($_SESSION['admin'])){
        require_once("../model/Venda.php");
    }else{
        header("Location: index.php");
    }
?>